package com.naiterui.ehp.bs.emr.entity.mongo;

import java.io.Serializable;

import org.apache.commons.lang3.builder.ToStringBuilder;

/**
 * 档案图片
 *

 * @since 2.16
 */
@SuppressWarnings("unused")
public class MCaseFileImg implements Serializable {
    /**
     * 字段或域定义：<code>serialVersionUID</code>
     */
    private static final long serialVersionUID = 4478299554629772854L;
    /**
     * 上传时间：<code>uploadTime</code>
     */
    private Long uploadTime;
    /**
     * 图片地址：<code>url</code>
     */
    private String imgUrl;

    public MCaseFileImg() {

    }

    public MCaseFileImg(Long uploadTime, String imgUrl) {
        this.uploadTime = uploadTime;
        this.imgUrl = imgUrl;
    }

    /**
     * @return Long 取得域 uploadTime 的方法。
     */
    public Long getUploadTime() {
        return this.uploadTime;
    }

    /**
     * @param uploadTime 对域 uploadTime 的设置方法.
     */
    public void setUploadTime(Long uploadTime) {
        this.uploadTime = uploadTime;
    }

    /**
     * @return String 取得域 url 的方法。
     */
    public String getImgUrl() {
        return this.imgUrl;
    }

    /**
     * @param url 对域 url 的设置方法.
     */
    public void setImgUrl(String url) {
        this.imgUrl = url;
    }

    @Override
    public String toString() {
        return ToStringBuilder.reflectionToString(this);
    }
}
